import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;

public class servlet extends HttpServlet {
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {


        resp.setContentType("text/html");
        resp.setCharacterEncoding("utf-8");
        PrintWriter printWriter=resp.getWriter();

        printWriter.println("hello world");

    }




}
